const data = {
  isProcessing: false,
  queueSize: 0,
}
const mutations = {
  /**
   * 设置队列
   * @constructor
   */
  SET_QUEUE(state, queue) {
    state.queueSize = queue.queueSize
    state.isProcessing = queue.isProcessing
  },

}

export default {
  namespaced: true,
  state: data,
  mutations,
}
